#for
#for i in range(10,0,-1): #倒序
#    print(i+1)
#while
i = 0
while i < 10:
    print(i)
    i += 1
